package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;
import com.aijk.ehm.model.SemHeight;
import com.aijk.ehm.model.qo.SemHeightQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 体重
 */
public interface SemHeightApi {
    Long save(SemHeight bean) throws ErrorCodeException;

    void update(SemHeight bean) throws ErrorCodeException;

    SemHeight findOne(Long id) throws ErrorCodeException;

    List<SemHeight> list(SemHeightQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(SemHeightQo qo);

    PageInfo<SemHeight> page(SemHeightQo qo);
}